package com.dingdang.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分期表
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_fenqi")
@ApiModel(value="TbFenqi对象", description="分期表")
public class TbFenqi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分期表Id")
    private Long id;

    @ApiModelProperty(value = "用户绑定的id")
    private Long fenqiUserId;

    @ApiModelProperty(value = "分期的分期数")
    private Long fenqiFenqishu;

    @ApiModelProperty(value = "每期的还款金额")
    private BigDecimal fenqiAmmont;

    @ApiModelProperty(value = "总还款金额")
    private BigDecimal fenqiTotalAmmont;

    @ApiModelProperty(value = "每月的还款时间")
    private LocalDate fenqiTime;

    @ApiModelProperty(value = "剩余还款期数")
    private Long fenqiFenqishuRemaining;

    @ApiModelProperty(value = "电话号码")
    private String fenqiPhone;


}
